import {Component,OnInit,Input} from '@angular/core'
@Component({
  selector: 'app-item',
  templateUrl: './item.component.html',
  styleUrls: ['./item.component.css']
})
export class ItemComponent implements OnInit {
  @Input() playlists:string;
  @Input() getId:any;
  constructor() { }

  ngOnInit() {
  }

  handleClick(index){
    this.getId(index)
  }
}